#ifndef  TIMER_H
#define  TIMER_H

#include <chrono>

class Timer {
public:
    Timer(int interval);
    ~Timer();
    bool isTimeout();
    void reset();

private: 
    int _interval; //ms
    std::chrono::time_point<std::chrono::high_resolution_clock> _start;
};


#endif   /* TIMER_H */
